home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / g_man / cat3 / standard / rect.z / rect
Encoding:
Text File  |  2002-10-03  |  3.1 KB  |  67 lines

  1.  
  2.  
  3.  
  4. rrrreeeecccctttt((((3333GGGG))))                                                              rrrreeeecccctttt((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      rrrreeeecccctttt,,,, rrrreeeeccccttttiiii,,,, rrrreeeeccccttttssss - outlines a rectangular region
  10.  
  11. CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  12.      vvvvooooiiiidddd rrrreeeecccctttt((((xxxx1111,,,, yyyy1111,,,, xxxx2222,,,, yyyy2222))))
  13.      CCCCoooooooorrrrdddd xxxx1111,,,, yyyy1111,,,, xxxx2222,,,, yyyy2222;;;;
  14.  
  15.      vvvvooooiiiidddd rrrreeeeccccttttiiii((((xxxx1111,,,, yyyy1111,,,, xxxx2222,,,, yyyy2222))))
  16.      IIIIccccoooooooorrrrdddd xxxx1111,,,, yyyy1111,,,, xxxx2222,,,, yyyy2222;;;;
  17.  
  18.      vvvvooooiiiidddd rrrreeeeccccttttssss((((xxxx1111,,,,yyyy1111,,,, xxxx2222,,,, yyyy2222))))
  19.      SSSSccccoooooooorrrrdddd xxxx1111,,,, yyyy1111,,,, xxxx2222,,,, yyyy2222;;;;
  20.  
  21.      All of the above routines are functionally the same.  They differ only in
  22.      the type declarations of their parameters.
  23.  
  24. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  25.      _x_1   expects the x coordinate of one of the corners of the rectangle.
  26.  
  27.      _y_1   expects the y coordinate of one of the corners of the rectangle.
  28.  
  29.      _x_2   expects the x coordinate of the opposite corner of the rectangle.
  30.  
  31.      _y_2   expects the y coordinate of the opposite corner of the rectangle.
  32.  
  33. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  34.      rrrreeeecccctttt draws an unfilled rectangle in the _x-_y plane with _z assumed to be
  35.      zero.  The sides of the rectangle are parallel to the _x and _y axes.  To
  36.      create a rectangle that does not lie in the _x-_y plane, draw the rectangle
  37.      in the _x-_y plane, then rotate and/or translate the rectangle.
  38.  
  39.      A rectangle is drawn as a sequence of four line segments, and therefore
  40.      inherits all properties that affect the drawing of lines.  These include
  41.      the current color, writemask, line width, stipple pattern, shade model,
  42.      line antialiasing mode, and subpixel mode.  The stipple pattern is
  43.      initialized to bit zero of the current linestyle before the rectangle is
  44.      drawn, then shifted continuously through the segments of the rectangle.
  45.  
  46.      After rrrreeeecccctttt executes, the graphics position is undefined.
  47.  
  48. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  49.      bgnclosedline, linewidth, linesmooth, lsrepeat, rectf, sbox,
  50.      scrsubdivide, setlinestyle, shademodel, subpixel
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.